package com.huike.review.service;

import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {

    boolean addReview(String name,Integer age,String sex);

    Review selectById(Long id);

    boolean update(MybatisReviewVO reviewVO);

    boolean deleteById(Long id);

    List<MybatisReviewVO> list();
}
